package ywpt.service.service;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import ywpt.model.SmallAmount;

public interface SmallAmountService {

	public abstract SmallAmount getSmallAmountById(Long id);

	public abstract int getSmallAmountsCountByCriteria(DetachedCriteria query);

	public abstract List<SmallAmount> getSmallAmounts(
			DetachedCriteria query, int pageSize, int startIndex);

	public abstract void saveSmallAmount(SmallAmount smallAmount, Long jobId, Long repairId, Long clientId, Long checkId);

	public abstract void updateSmallAmount(SmallAmount smallAmount, Long jobId, Long repairId, Long clientId, Long checkId);

}
